<script lang="ts" setup name="SystemTest">
import a from '@/utils/cs'
import { decrypt, encrypt } from '@/utils/rsa'

const t = new Date().getTime()
console.log(a)
console.log('开始加密')
console.log(new Date().getTime() - t)
console.log(encrypt(a))
console.log('加密完成')
console.log(new Date().getTime() - t)

console.log('开始解密')
console.log(new Date().getTime() - t)
console.log(decrypt(encrypt(a)))
console.log('解密完成')
console.log(new Date().getTime() - t)
</script>

<template>
  <div>
    <p>测试页面</p>
  </div>
</template>
